<script setup lang="ts">
import {inject} from "vue";
import {Spacial} from "@/common/Spacial/index";

const instance = inject('instance') as Spacial
const {dom} = instance.atlas.InitStates()
instance.atlas.InitHooks()
instance.atlas.Run()
</script>

<template>
    <div class="Atlas">
        <div class="CesiumDom" ref="dom"></div>
    </div>
</template>

<style scoped lang="scss">
@import "index";
</style>